SUBDIRS=po
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS=\
	${PURPLE_CFLAGS}\
	${PIDGIN_CFLAGS}\
	-DPURPLE_PLUGINS\
	-DENABLE_NLS
LDADD=\
	${PURPLE_LIBS}
	${PIDGIN_LIBS}

#install dir
tsinadir=${PURPLE_LIBDIR}/purple-2/
icon16dir=${PIDGIN_DATADIR}/pixmaps/pidgin/protocols/16
icon22dir=${PIDGIN_DATADIR}/pixmaps/pidgin/protocols/22
icon48dir=${PIDGIN_DATADIR}/pixmaps/pidgin/protocols/48
#generate tsina.so instead of libsina.so.0.0
tsina_la_LDFLAGS=-module -avoid-version

tsina_LTLIBRARIES=tsina.la
tsina_la_SOURCES=mb_http.c \
          mb_http.h \
          mb_net.c  \
	  mb_net.h  \
	  mb_oauth.c\
	  mb_oauth.h\
	  mb_util.c \
	  mb_util.h \
	  tsina.c   \
	  twitter.c \
	  twitter.h \
	  tw_util.c \
		utf8.c \
		utf8.h
#resource file
icon16_DATA=pixmaps/16/tsina.png
icon22_DATA=pixmaps/22/tsina.png
icon48_DATA=pixmaps/48/tsina.png

EXTRA_DIST=${icon16_DATA} ${icon22_DATA} ${icon48_DATA}
